package com.cyl.manager.act.domain.convert;

import org.mapstruct.Mapper;


import com.cyl.manager.act.domain.entity.FhDeliveryExpress;
import com.cyl.manager.act.domain.vo.FhDeliveryExpressVO;
import com.cyl.manager.act.domain.dto.FhDeliveryExpressDTO;


import java.util.List;
/**
 * 快递公司  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface FhDeliveryExpressConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    FhDeliveryExpressDTO do2dto(FhDeliveryExpress source);

    /**
     * @param source DTO
     * @return DO
     */
    FhDeliveryExpress dto2do(FhDeliveryExpressDTO source);

    List<FhDeliveryExpressVO> dos2vos(List<FhDeliveryExpress> list);
}
